package com.ophiux.wechat.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;



/**
 * @desc:
 * @autor: hhl
 * @date: 2023-07-31 10:05:39<br>
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("ophiux_app_user_answer")
@KeySequence(value = "SEQ_OPHIUX_APP_USER_ANSWER")//oracle使用
public class OphiuxAppUserAnswer extends Model<OphiuxAppUserAnswer> {

    //    @TableId(type = IdType.INPUT)//oracle使用
//    @TableId(type = IdType.AUTO)
    @TableId
    @ApiModelProperty(value = "回答记录id")
    private Integer id;

    @ApiModelProperty(value = "患者唯一标识")
    private String patientId;

    @TableField(value = "created_time", fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间")
    private String createdTime;

    @TableField(value = "updated_time", fill = FieldFill.UPDATE)
    @ApiModelProperty(value = "修改时间")
    private String updatedTime;

    @ApiModelProperty("使用类型：1-门诊；2-住院；")
    private Integer useType;

}
